package com.yhy.wxzn.wcs.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: PLC点位配置表
 * @Author: jeecg-boot
 * @Date:   2023-12-11
 * @Version: V1.0
 */
@Data
@TableName("wcs_plc_property")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wcs_plc_property对象", description="PLC点位配置表")
public class WcsPlcProperty implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**所属PLC*/
	@Excel(name = "所属PLC", width = 15)
    @ApiModelProperty(value = "所属PLC")
    private java.lang.String plcId;
	/**设备*/
	@Excel(name = "设备", width = 15)
    @ApiModelProperty(value = "设备")
    private Integer deviceId;
    private transient java.lang.String deviceName;
	/**配置类型*/
	@Excel(name = "配置类型", width = 15, dicCode = "wcs_plc_property_type")
	@Dict(dicCode = "wcs_plc_property_type")
    @ApiModelProperty(value = "配置类型")
    private java.lang.Integer type;
	/**读值地址*/
	@Excel(name = "读值地址", width = 15)
    @ApiModelProperty(value = "读值地址")
    private java.lang.String readAddress;
	/**写值地址*/
	@Excel(name = "写值地址", width = 15)
    @ApiModelProperty(value = "写值地址")
    private java.lang.String writeAddress;
	/**刷新时间*/
	@Excel(name = "刷新时间", width = 15)
    @ApiModelProperty(value = "刷新时间")
    private java.lang.Integer refreshTime;
	/**坐标*/
	@Excel(name = "坐标", width = 15)
    @ApiModelProperty(value = "坐标")
    private java.lang.String coord;
	/**工位*/
	@Excel(name = "工位", width = 15)
    @ApiModelProperty(value = "工位")
    private java.lang.Integer station;
}
